#include "plus.h"

double Plus::value(double x)
{
	return (a_->value(x) + b_->value(x));
}

Plus::Plus(Function *a, Function *b) : a_(a), b_(b) {}

Plus::~Plus()
{
	delete a_;
	delete b_;
}

